// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibiztask', 'ibiztaskname', 'taskteams', 'updateman', 'updatedate', 'ibiztaskid', 'srfkey', 'srfdataaccaction', 'srfmajortext', ...wfKey];
    }

    get ibiztaskname() {
        return this.$DO.ibiztaskname;
    }

    set ibiztaskname(value: any) {
        this.$DO.ibiztaskname = value;
    }
    get taskteams() {
        return this.$DO.taskteams;
    }

    set taskteams(value: any) {
        this.$DO.taskteams = value;
    }
    get updateman() {
        return this.$DO.updateman;
    }

    set updateman(value: any) {
        this.$DO.updateman = value;
    }
    get updatedate() {
        return this.$DO.updatedate;
    }

    set updatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get ibiztaskid() {
        return this.$DO.ibiztaskid;
    }

    set ibiztaskid(value: any) {
        this.$DO.ibiztaskid = value;
    }
    get srfkey() {
        return this.$DO.ibiztaskid;
    }

    set srfkey(value: any) {
        this.$DO.ibiztaskid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibiztaskid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibiztaskid = value;
    }
    get srfmajortext() {
        return this.$DO.ibiztaskname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibiztaskname = value;
    }

    set ibiztask(value: any) {
        this.$DO.ibiztaskid = value;
    }
    get ibiztask() {
        return this.$DO.ibiztaskid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]